package com.school.repair.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 报修单实体类
 */
@Data
public class BaoXiuDan implements Serializable {
    private long id;                       //编号
    private String guzhang;         //故障说明
    private long status;                 //状态
    private long baoxiumanid;       //报修人
    private long equipmentid;       //设备号
    private long repairmanid;        //处理人
    private String repairres;      //处理结果
    private float fee;                 //维修金额
    private String content;         //客户反馈
    private String name;            //设备名称

    public BaoXiuDan(String guzhang, long status, long baoxiumanid, long equipmentid, long repairmanid, String repairres, float fee, String content, String name) {
        this.guzhang = guzhang;
        this.status = status;
        this.baoxiumanid = baoxiumanid;
        this.equipmentid = equipmentid;
        this.repairmanid = repairmanid;
        this.repairres = repairres;
        this.fee = fee;
        this.content = content;
        this.name = name;
    }

    public BaoXiuDan(String guzhang, long status, long baoxiumanid, long equipmentid, long repairmanid, String repairres, float fee) {
        this.guzhang = guzhang;
        this.status = status;
        this.baoxiumanid = baoxiumanid;
        this.equipmentid = equipmentid;
        this.repairmanid = repairmanid;
        this.repairres = repairres;
        this.fee = fee;
    }
}
